cmake_minimum_required (VERSION 3.6)

project(framework_log)

file(GLOB SRC "easylogger/port/*.c" "easylogger/src/*.c" "src/*.c")

add_library(${PROJECT_NAME}  STATIC ${SRC})

target_include_directories(${PROJECT_NAME}  PUBLIC "easylogger/inc" "inc")

add_dependencies(${PROJECT_NAME}  kernal_cmsis framework_mr_library rtc_misc)
target_link_libraries(${PROJECT_NAME}  kernal_cmsis framework_mr_library rtc_misc)
target_compile_options(${PROJECT_NAME}  PRIVATE -g)
